//
//  ApplySuccessView.m
//  meiyinxiang
//
//  Created by 媒印象 on 06/12/2017.
//  Copyright © 2017 hbjApple. All rights reserved.
//

#import "ApplySuccessView.h"
#import "ShareUrlModel.h"
#import "JpusharedHelper.h"
@implementation ApplySuccessView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (IBAction)inviteMyFriendBtn:(id)sender {
    ShareUrlModel *shareModel = [[ShareUrlModel alloc] init];
    shareModel.text = @"媒印象喊您来捡钱了";
    shareModel.imgUrl = @"http://meiyinxiang.net/upload/20171225/8997fba564d8634557ca859e8d935663.jpg";
    shareModel.title = @"媒印象邀您注册抢红包了";
    shareModel.url = @"http://meiyinxiang.net";
    [JpusharedHelper shared].urlModel = shareModel;
    [[JpusharedHelper shared].shareView showWithContentType:3];
}

+ (ApplySuccessView *)loadNibWithApplyView{
    UINib *nib = [UINib nibWithNibName:@"ApplySuccessView" bundle:[NSBundle mainBundle]];
    return [[nib instantiateWithOwner:nil options:nil]lastObject];
}
@end
